package Web.controller;

import Web.domain.ResponseResult;
import Web.domain.entity.Like;
import Web.domain.entity.Praise;
import Web.service.PraiseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/praise")
public class PraiseController {
    @Autowired
    PraiseService praiseService;
    @PostMapping("/status")
    ResponseResult RecommendStatus(@RequestBody Praise praise){
        return praiseService.getPraiseStatus(praise);
    }
}
